// 测试计划

import instance from './http'

const plan = {
    // 查询
    getPlan(params) {
        return instance({
            method: 'GET',
            url: '/plan',
            params: params
        })
    },

    // 新增
    addPlan(data) {
        return instance({
            method: 'POST',
            url: '/plan',
            data: data
        })
    },

    // 删除
    deletePlan(data) {
        return instance({
            method: 'DELETE',
            url: '/plan',
            data: data
        })
    }
}

export default plan
